import { Path, Svg } from 'react-native-svg'

// eslint-disable-next-line no-relative-import-paths/no-relative-import-paths
import { createIcon } from '../factories/createIcon'

export const [Receipt, AnimatedReceipt] = createIcon({
  name: 'Receipt',
  getIcon: (props) => (
    <Svg viewBox="0 0 20 20" fill="none" {...props}>
      <Path
        d="M14.1667 2.5H5.83334C4.16668 2.5 3.33334 3.33333 3.33334 5V15.5175C3.33334 16.2042 4.11749 16.5958 4.66666 16.1842L5.79916 15.335C6.29666 14.9617 6.99338 15.0117 7.43338 15.4508L9.11581 17.1333C9.60415 17.6217 10.3959 17.6217 10.8834 17.1333L12.5658 15.4508C13.0058 15.0108 13.7025 14.9617 14.2 15.335L15.3326 16.1842C15.8817 16.5958 16.6659 16.2042 16.6659 15.5175V5C16.6667 3.33333 15.8333 2.5 14.1667 2.5ZM10.8333 11.4583H6.66668C6.32168 11.4583 6.04168 11.1783 6.04168 10.8333C6.04168 10.4883 6.32168 10.2083 6.66668 10.2083H10.8333C11.1783 10.2083 11.4583 10.4883 11.4583 10.8333C11.4583 11.1783 11.1783 11.4583 10.8333 11.4583ZM13.3333 8.125H6.66668C6.32168 8.125 6.04168 7.845 6.04168 7.5C6.04168 7.155 6.32168 6.875 6.66668 6.875H13.3333C13.6783 6.875 13.9583 7.155 13.9583 7.5C13.9583 7.845 13.6783 8.125 13.3333 8.125Z"
        fill="currentColor"
      />
    </Svg>
  ),
  defaultFill: '#131313',
})
